<!DOCTYPE html>
<html lang="zh">

	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>route</title>
		
		<link rel="stylesheet" type="text/css" href="buttons.css"/>

		<script src="route.js" type="text/javascript" charset="utf-8"></script>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<h1>通过location.hash+hashchange事件实现路由的示例</h1>
		<h2>此版本效果好看很多</h2>
		<ul>
			<li>
				<a href="#/" class="button button-glow button-border button-rounded button-primary">turn white</a>
			</li>
			<li>
				<a href="#/orange" class="button button-glow button-rounded button-highlight">turn orange</a>
			</li>
			<li>
				<a href="#/purple" class="button button-glow button-rounded button-royal">turn purple</a>
			</li>
		</ul>
	</body>

</html>